﻿using System;

namespace FunctionalCLR.Core.Function.DateTime {

    /// <summary>
    /// echo(date());
    /// </summary>
    public class DateNode : FuncNode {

        public DateNode() {
            Value = "date";
        }

        public override object Evaluate() {
            return System.DateTime.Today.Date.ToString();
        }
    }
}
